﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Agregados.aspx.cs" MasterPageFile="~/Roteirizacao.Master" Inherits="Roteirização.Agregados" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentRoteirizacao" runat="server">
    <div id="site_content">
      <div class="content">
        <h2>Cadastro de Agregados</h2>
        <form id="Form1" action="#" method="post" runat="server">

                  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
        <script type="text/javascript" src="js/jquery.ui.datagrid.min.js"></script>
          <div class="form_settings">
            <p><span>Nome:</span><input type="text" id="txtNome" name="txtNome" value="" runat="server" /></p>
            <p><span>RG:</span><input id="txtRG" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CPF:</span><input id="txtCPF" type="text" name="txtNome" value="" runat="server" /></p>
<%--            <p><span>Data Nascimento:</span><asp:TextBox id="txtNasc" runat="server" onkeydown="javascript:return false;"></asp:TextBox>
            <asp:CalendarExtender ID="CalendarExtender31" runat="server" TargetControlID="txtNasc" Format="dd/MM/yyyy"/>--%>
            <p><span>CNH:</span><input id="txtCNH" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CNH Cat.:</span><input id="txtCatCNH" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Rua:</span><input id="txtRuaM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Nº:</span><input id="txtNumM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Complemento:</span><input id="txtCompM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Bairro:</span><input id="txtBairroM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Cidade:</span><input id="txtCidadeM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Estado:</span><input id="txtEstadoM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>País:</span><input id="txtPaisM" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CEP:</span><input id="txtCEPM" type="text" name="txtNome" value="" runat="server" /></p>
            <p style="padding-top: 15px"><span>&nbsp;</span>
            
            <asp:Button CssClass="submit" ID="btnSalvarM" Text="Salvar" runat="server" 
                    onclick="btnSalvarM_Click"/>
            </p>
          </div>
        <div>
        <center>
        <br />
        <asp:GridView ID="Gridv" runat="server" ShowHeaderWhenEmpty="True" runat="server">
        </asp:GridView>
        <br />
        </center>
        </div>
        </form>
        
      </div>
    </div>
</asp:Content>